package com.grandbroad.eim.utils;

import android.content.Context;
import android.widget.Toast;

import com.grandbroad.eim.app.MyApplication;

public class ToastUtils
{
    private static Toast ta;


    public static void show(String text)
    {
        if (ta==null)
        {
            ta = Toast.makeText(MyApplication.getContext(),text,Toast.LENGTH_SHORT);
        }
        ta.setText(text);
        ta.show();
    }
}
